package com.tengju.bff.interfaces.data.vo;

import lombok.Data;

import java.math.BigDecimal;

/**
 * @author chenhang
 * @Date 2020/12/25
 */
@Data
public class AchievementBonusMidDetailVO {

    private Long idCode;

    private BigDecimal smallTeamCancelBeforeAchievement = BigDecimal.ZERO;

    private BigDecimal allTeamCancelBeforeAchievement = BigDecimal.ZERO;

    private BigDecimal theoryAchievement = BigDecimal.ZERO;

    private BigDecimal achievement = BigDecimal.ZERO;

    private BigDecimal settleAchievement = BigDecimal.ZERO;

    private BigDecimal smallTeamAchievement = BigDecimal.ZERO;

    private String userTag;

    private Integer teamRatioType;

    private Integer childrenNum  = 0;

    private BigDecimal profit = BigDecimal.ZERO;

    @Override
    public String toString() {
        return String.format("idCode= %-8s" +
                ", smallTeamCancelBeforeAchievement= %-8s" +
                ", allTeamCancelBeforeAchievement= %-8s" +
                ", theoryAchievement= %-8s" +
                ", achievement= %-8s" +
                ", settleAchievement= %-8s" +
                ", smallTeamAchievement= %-8s" +
                ", userTag= %-4s" +
                ", teamRatioType= %-5s" +
                ", childrenNum= %-5s" +
                ", profit= %-8s \r\n",
                idCode,
                smallTeamCancelBeforeAchievement,
                allTeamCancelBeforeAchievement,
                theoryAchievement,
                achievement,settleAchievement,smallTeamAchievement,userTag,teamRatioType,
                childrenNum,profit
        );
    }

}
